package com.cxy.datawarehouse.biz;

import com.cxy.datawarehouse.entity.StandardCodeLevel;
import com.cxy.datawarehouse.service.StandardCodeLevelService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.List;

@Slf4j
@Component
public class StandardCodeLevelBiz {
    @Resource
    StandardCodeLevelService service;

    public List<StandardCodeLevel> list() {
        return service.list();
    }

    public void create(StandardCodeLevel standardCodeLevel) {
        service.create(standardCodeLevel);
    }

    public void deleteById(Long id){
        service.deleteById(id);
    }

    public void update(StandardCodeLevel standardCodeLevel){
        service.update(standardCodeLevel);
    }
}
